package com.xiaomi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

public class Cppingjia {
    private int id;
    private String pingjia;
    private  int cpid;
    private  String cpname;
    private  String yonghuname;
    private  String zhuangtai;
    private  String huifu;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date shijian;

    public Cppingjia() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPingjia() {
        return pingjia;
    }

    public void setPingjia(String pingjia) {
        this.pingjia = pingjia;
    }

    public int getCpid() {
        return cpid;
    }

    public void setCpid(int cpid) {
        this.cpid = cpid;
    }

    public String getCpname() {
        return cpname;
    }

    public void setCpname(String cpname) {
        this.cpname = cpname;
    }

    public String getYonghuname() {
        return yonghuname;
    }

    public void setYonghuname(String yonghuname) {
        this.yonghuname = yonghuname;
    }

    public String getZhuangtai() {
        return zhuangtai;
    }

    public void setZhuangtai(String zhuangtai) {
        this.zhuangtai = zhuangtai;
    }

    public String getHuifu() {
        return huifu;
    }

    public void setHuifu(String huifu) {
        this.huifu = huifu;
    }

    public Date getShijian() {
        return shijian;
    }

    public void setShijian(Date shijian) {
        this.shijian = shijian;
    }

    @Override
    public String toString() {
        return "Cppingjia{" +
                "id=" + id +
                ", pingjia='" + pingjia + '\'' +
                ", cpid=" + cpid +
                ", cpname='" + cpname + '\'' +
                ", yonghuname='" + yonghuname + '\'' +
                ", zhuangtai='" + zhuangtai + '\'' +
                ", huifu='" + huifu + '\'' +
                ", shijian=" + shijian +
                '}';
    }
}
